#coding=gbk
import misc
import root
import pysrv
import msg
import PyMsg
import account
import logics
CLIENT_PORT = 5052
class ClientServer(pysrv.PyServerDelegate):
    def goInit(self,port):
        self.init(port)
    def msgParseContent(self,id,content):
        pass
    def newTCPTask(self,id):
        pass
    def taskDestroyed(self,id):
        pass


server = ClientServer("ClientServer")
server.goInit(CLIENT_PORT)
logics.init_handlers()

client = account.AccountClient()
client.goInit()
server.addClient(client)


server.start()

